package com.dkm.ou.me.persistence.entity;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import com.dkm.base.db.persistence.entity.TreeType;


/**
 * 对象功能:角色 entity对象
 * 开发公司:SKG.COM
 * 开发人员:颜超敏
 * 创建时间:2014-12-12 11:01:12
 */
public class RolePo extends RoleTbl implements TreeType<ResPo>{
	
	private static final long serialVersionUID = -6206902455711874451L;
	
	protected String subsysName;
	
	protected String resIds;
	
	private List<ResPo> subs = new ArrayList<ResPo>();
	private String subSysName;
	
	public List<ResPo> getSubs() {
		return Collections.unmodifiableList(subs);
	}
	
	public void addSub(ResPo resPo){
		subs.add(resPo);
	}
	
	public String getSubsysName() {
		return subsysName;
	}

	public void setSubsysName(String subsysName) {
		this.subsysName = subsysName;
	}

	public void setResIds(String resIds) {
		this.resIds = resIds;
	}

	public String getResIds() {
		return resIds;
	}

	@Override
	public String getParentId() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getPath() {
		return null;
	}

	@Override
	public Integer getDepth() {
		return null;
	}
}